<?php include display('header'); ?>

<div style="padding:10px 0;">
<div class='nav_info'>
	<div class='info' onclick='stab(1);'><img src="./images/system/icon/34.gif"/><b>文章</b></div>
	<div class='info2' onclick='stab(2);'><img src="./images/system/icon/34.gif"/><b>图片</b></div>
	<div class='info2' onclick='stab(3);'><img src="./images/system/icon/34.gif"/><b>视屏</b></div>
	<div class='info2' onclick='stab(4);'><img src="./images/system/icon/34.gif"/><b>Flash</b></div>
	<div class='info2' onclick='stab(5);'><img src="./images/system/icon/34.gif"/><b>下载</b></div>
	<div class='info2' onclick='stab(6);'><img src="./images/system/icon/34.gif"/><b>产品</b></div>
</div>
	<table cellspacing="0" cellpadding="2" width="100%" size="15" page="true" id="dg1" class="stable">
	<tbody>
	<tr class="tableth">
		<td height="30" width="5%">ID</td>
		<td width="51%"><span style="float: left;"><b>栏目名称</b></span></td>
		<td width="9%"><strong>文档数</strong></td>
		<td width="9%"><strong>显示</strong></td>
		<td width="11%"><strong>管理文档</strong></td>
		<td width="15%"><span style="float: left;"><strong>发表文档</strong></span></td>
	</tr>
	<?php if(is_array($category['article'])) { foreach($category['article'] as $k => $v) { ?>

	<tr>
		<td><a href="category.php?id=<?=$v['id']?>" target="_blank"><?=$v['id']?></a></div></td>
		<td><?=$v['name']?></td>
		<td><?php if($v['attribute']) { echo $v['document_no'];  } ?></td>
		<td><?php if($v['ifshow']==1) { ?><img height="16" width="16" border="0" alt="是" src="./images/system/icon/37.gif"/>
<?php } else { ?>
<img height="16" width="16" border="0" alt="否" src="./images/system/icon/38.gif"/><?php } ?></td>
		<td><?php if($v['attribute']) { ?><a href="javascript:void(0);" onclick="app.categoryArticleList(<?=$v['id']?>);">管理</a><?php } ?></td>
		<td><?php if($v['attribute']) { ?><a href="javascript:void(0);" onclick="app.newArticle(<?=$v['id']?>);">发表文章</a><?php } ?></td>
	</tr>
	<?php } } ?>
	</tbody>
	</table>
</div>

<?php include display('footer'); ?>
